package com.jiefeng.manager.service;


import com.jiefeng.manager.table.RefundOrderInfo;
import com.jiefeng.manager.queryRequest.RefundOrderRequest;

import java.util.List;
import java.util.Map;

/**
 * Created by huangtongshuan on 2016/5/15 14:44.
 */
public interface RefundService {
    /**
     * 默认分页查询
     */

    List<RefundOrderInfo> getListBypage(RefundOrderRequest refundOrderRequest);

    /**
     * 按照id查询数据
     */

    public List<RefundOrderInfo> getOrderListById(String id);

    /**
     * 按照指定参数查询数据
     */
    public List<RefundOrderInfo> getOrderListByRequest(RefundOrderRequest request);

    /**
     * 统计总数
     */
    public int getCount(RefundOrderRequest refundOrderRequest);

    /**
     * 按照指定参数统计总数
     */
    public long countbyParam(Map<String, String> param);
}
